<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!--<base href="http://localhost:8080/wanda/">-->
<base href=".">

<title>客户管理的基本信息</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link href="../admin/Styles/css(1).css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../admin/Script/jquery.min.js"></script>
<script type="text/javascript" src="../admin/Script/layer.js"></script>
<script type="text/javascript" src="../admin/Scripts/My97DatePicker/WdatePicker.js"></script> 
<link rel="stylesheet" href="../admin/Styles/layer.css"
	id="layui_layer_skinlayercss" style="">
<script type="text/javascript" src="../admin/Script/H-ui.admin.js	"></script>
<script type="text/javascript">
	function MM_jumpMenu(targ, selObj, restore) { //v3.0
		eval(targ + ".location='" + selObj.options[selObj.selectedIndex].value
				+ "'");
		if (restore)
			selObj.selectedIndex = 0;
	}
</script>
<script>
	/*第一种形式 第二种形式 更换显示样式*/
	function setTab(name, cursel, n) {
		for (i = 1; i <= n; i++) {
			var menu = document.getElementById(name + i);
			var con = document.getElementById("con_" + name + "_" + i);
			menu.className = i == cursel ? "hover" : "";
			con.style.display = i == cursel ? "block" : "none";
		}
	}
	//-->

	//选择房间对话框
	function dialog(title, url, w, h) {
		layer_show(title, url, w, h);
	}

	window.onload = function() {
		var date = new Date();
		
		var seperator1 = "-";

		var seperator2 = ":";
//      月
		var month = date.getMonth() + 1;
// 		日
		var strDate = date.getDate();
		
// 		var hour = date.getHours();

// 		var minute = date.getMinutes();

// 		var second = date.getSeconds();

		if (month >= 1 && month <= 9) {

			month = "0" + month;

		}

		if (strDate >= 0 && strDate <= 9) {

			strDate = "0" + strDate;

		}

// 		if (hour >= 0 && hour <= 9) {

// 			hour = "0" + hour;
// 		}

// 		if (minute >= 0 && minute <= 9) {

// 			minute = "0" + minute;
// 		}

// 		if (second >= 0 && second <= 9) {
// 			second = "0" + second;

// 		}
// 		 + " " + hour + seperator2 + minute + seperator2 + second
		var currentdate = date.getFullYear() + seperator1 + month + seperator1
				+ strDate;
				
		
		document.getElementById("createtime").value = currentdate;
	}
</script>
</head>
<body>
	<div class="yboxwidth boxcenter">
		<div class="ybox09">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tbody>
					<tr>
						<td class="ybox10td1"><a href="addUser.jsp"><img
								src="../admin/images/op8_1.gif" width="28" height="54"> </a></td>
						<td>
							<table border="0" cellspacing="0" cellpadding="0">
								<tbody>
									<tr valign="top">

										<td class="ybox11td2">填写用户基本信息</td>

										<td class="ybox11td3"></td>
										<td class="ybox11td2"></td>

										<td class="ybox11td3"></td>
										<td class="ybox11td2"></td>

										<td class="ybox11td3"></td>
										<td class="ybox11td2"></td>

										<td class="ybox11td3"></td>
										<td class="ybox11td2"></td>

										<td class="ybox11td4"></td>

									</tr>
								</tbody>
							</table>
						</td>
						<td class="ybox10td1"><a href="addUser.jsp"> <img
								src="../admin/images/op8_2.gif" width="28" height="54">
						</a></td>
					</tr>
				</tbody>
			</table>
		</div>

		<div class="ybox02">
			<!-- 			跳转action -->
			<form action="${pageContext.request.contextPath }/user/addUser.action" method="post">
				<div class="ybox05 margb8">
					<dl>
						<dt>
							<strong>【注】</strong> 1、基本信息必须填写 <br>
						</dt>
					</dl>
				</div>
				<table width="100%" border="0" cellspacing="0" cellpadding="0"
					class="margb4">
					<tbody>
						<tr>
							<td class="ybox03td1"></td>
							<td class="ybox03td2"></td>
							<td class="ybox03td3"></td>
						</tr>
						<tr>
							<td class="ybox03td4"></td>
							<td class="ybox03td5"><br>
								<div class="ybox05 margb8">
									<dl>
										<dt>基本信息</dt>
									</dl>
								</div>


								<table width="100%" border="0" cellpadding="0" cellspacing="1"
									class="ybox06table">
									<tbody>
										<tr>
											<td width="30" class="ybox06td01"><font color="red">*</font>用户账号：
											</td>
											<td class="ybox06td01"><input type="text" name="useraccount"></td>
											<td class="ybox06td01"><font color="red">*</font>用户密码：</td>
											<td class="ybox06td01"><input type="password" name="userpassword"></td>
											<td class="ybox06td01"><font color="red">*</font>用户名：</td>
											<td class="ybox06td01"><input type="text" name="username"></td>
										</tr>
										<tr>
											<td class="ybox06td01"><font color="red">*</font>用户电话：</td>
											<td class="ybox06td01"><input type="text" name="usermobile"></td>
											<td class="ybox06td01"><font color="red">*</font>创建时间：</td>
											<td class="ybox06td01"><input type="text"  class="Wdate" onFocus="WdatePicker({lang:'zh-cn'})" id="datemin"  style="width:120px;" 
												name="createtime" ></td>
											<td class="ybox06td01"><font color="red">*</font>角色：</td>
											<td class="ybox06td01"><select name="roleid">
													<option value="1">超级管理员</option>
													<option value="2">项目管理员</option>
													<option value="3">楼栋管理员</option>
													<option value="4">销售负责人</option>
													<option value="5">业务员</option>
											</select></td>
										</tr>
									</tbody>
								</table></td>
							<td class="ybox03td6"></td>
						</tr>


						<table width="380" border="0" align="center" cellpadding="0"
							cellspacing="0">
							<tbody>
								<tr>
									<!-- 提交操作按钮 -->
									<td height="60" align="center"><input type="submit"
										value="提交"
										style="border-radius: 5px; width: 95px; height: 35px; font-size: 15px; color: white; background-color: blue;">
									</td>

									<!-- 重置操作按钮 -->
									<td height="60" align="center"><input type="button"
										value="关闭"
										style="border-radius: 5px; width: 95px; height: 35px; font-size: 15px; color: white; background-color: blue;">
									</td>

								</tr>
							</tbody>
						</table>
						</form>
						</div>
						</div>
</body>
</html>